<lv-datatable [lvData]="data" [lvScroll]="{ y: '400px' }" #lvTable>
  <thead>
    <tr>
      <th lvLeft="0px" width="400px" lvCellKey="id">Id</th>
      <th width="500px" lvCellKey="name">Name</th>
      <th width="500px" lvCellKey="age">Age</th>
      <th lvRight="0px" width="400px" lvCellKey="random">Random</th>
    </tr>
  </thead>
  <tbody>
    <ng-container *ngFor="let item of lvTable.renderData">
      <tr>
        <td lvLeft="0px" width="400px">{{ item.id }}</td>
        <td width="500px">{{ item.name }}</td>
        <td width="500px">{{ item.age }}</td>
        <td lvRight="0px" width="400px">{{ item.random }}</td>
      </tr>
    </ng-container>
  </tbody>
</lv-datatable>
